<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Values and Units: color hsl codes</title>
    <link rel="stylesheet" href="../styles.css" />
    <style>
      * {
        box-sizing: border-box;
      }

      .box {
        padding: 10px;
        margin: 1em 0;
        border-radius: 0.5em;
      }
    </style>

    <style class="editable">
      .one {
        background-color: hsl(188 97% 28%);
      }

      .two {
        background-color: hsl(321 47% 57%);
      }

      .three {
        background-color: hsl(174 77% 31%);
      }
    </style>
  </head>

  <body>
    <section class="preview">
      <div class="wrapper">
        <div class="box one">hsl(188 97% 28%)</div>
        <div class="box two">hsl(321 47% 57%)</div>
        <div class="box three">hsl(174 77% 31%)</div>
      </div>
    </section>

    <textarea class="playable playable-css" style="height: 240px">
.one {
  background-color: hsl(188 97% 28%);
}

.two {
  background-color: hsl(321 47% 57%);
}

.three {
  background-color: hsl(174 77% 31%);
}</textarea
    >

    <textarea class="playable playable-html" style="height: 130px">
<div class="wrapper">
  <div class="box one">hsl(188 97% 28%)</div>
  <div class="box two">hsl(321 47% 57%)</div>
  <div class="box three">hsl(174 77% 31%)</div>
</div></textarea
    >

    <div class="playable-buttons">
      <input id="reset" type="button" value="Reset" />
    </div>
  </body>
  <script src="../playable.js"></script>
</html>
